<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="/styles/general.css"/>
<link rel="stylesheet" type="text/css" href="/styles/main.css" />
<link rel="stylesheet" type="text/css" href="/styles/validator.css"></link>
<script src="/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="/js/formValidator.js" type="text/javascript"></script>
<script src="/js/formValidatorRegex.js" type="text/javascript"></script>
<script type="text/javascript"> 
$(document).ready(function(){
	$.formValidator.initConfig({formid:"myform",onerror:function(msg){alert(msg)}});
    $("#name").formValidator({onshow:"请输入名称",onfocus:"请至少要输入1个字符",oncorrect:"OK",defaultvalue:""}).inputValidator({min:1,onerror:"长度不正确,请确认"});
	$("#description").formValidator({onshow:"请输入描述",onfocus:"请至少要输入1个字符",oncorrect:"OK",defaultvalue:""}).inputValidator({min:1,onerror:"长度不正确,请确认"});
	$("#passname").formValidator({onshow:"请输入通过名称",onfocus:"请至少要输入1个字符",oncorrect:"OK",defaultvalue:""}).inputValidator({min:1,onerror:"长度不正确,请确认"});
	$("#rejectname").formValidator({onshow:"请输入退稿名称",onfocus:"请至少要输入1个字符",oncorrect:"OK",defaultvalue:""}).inputValidator({min:1,onerror:"长度不正确,请确认"});
});
</script>
<title></title>
</head>
<body>
<h1>
<span class="action-span"><a href="/process/index/workflowid/{$info["workflowid"]}">管理工作流步骤</a></span>
<span class="action-span1">修改工作流步骤 </span>
<div style="clear:both"></div>
</h1>
<div class="main-div">
  <form action="/process/modify/" method="post" name="myform" id="myform" enctype="multipart/form-data">
  <input name='processid' id='processid' type="hidden" value="$processid" /> 
  <table width="100%" id="general-table">
      <tr>
        <td class="label">名称：</td>
        <td>
        	{form hidden * workflowid workflowid $info["workflowid"]}
        	{form text * name name $info["name"]}
       	</td>
        <td><div id='nameTip' style="width:250px"></div></td>
      </tr>
      <tr>
        <td class="label">描述：</td>
        <td>
        	{form textarea * description description $info["description"]}
       	</td>
        <td><div id='descriptionTip' style="width:250px"></div></td>
      </tr>
      <tr>
        <td class="label">通过名称：</td>
        <td>
        	{form text * passname passname $info["passname"]}
       	</td>
        <td><div id='passnameTip' style="width:250px"></div></td>
      </tr>
      <tr>
        <td class="label">通过状态值：</td>
        <td>
        	{form select * passstatus passstatus $info["passstatus"] * * $status}
       	</td>
        <td><div id='passstatusTip' style="width:250px"></div></td>
      </tr>
      <tr>
        <td class="label">退稿名称：</td>
        <td>
        	{form text * rejectname rejectname $info["rejectname"]}
       	</td>
        <td><div id='rejectnameTip' style="width:250px"></div></td>
      </tr>
      <tr>
        <td class="label">退稿状态值：</td>
        <td>
        	 {form select * rejectstatus rejectstatus $info["rejectstatus"] * * $status}
       	</td>
        <td><div id='rejectstatusTip' style="width:250px"></div></td>
      </tr>
      <tr> 
	      <th><strong>此步骤可操作的状态</strong></th>
	      <td>
	      		{form checkbox * status status $info["status"] * * $status}
	      </td>
	  </tr>
      </table>
  
   <div class="button-div">
        <input type="submit" value="&nbsp;确&nbsp;定&nbsp;" />
        &nbsp;&nbsp;&nbsp;&nbsp;
        <input type="reset" value="&nbsp;重&nbsp;置&nbsp;" />
   </div>
      
  </form>
</div>
{template 'footer.html'}
</body>
</html>
